/**
 * 所有版权归 广西梧州 陈锦韬 所有
 *
 * @Title: StandardController
 * @Package com.rx.core.bean
 * @Description: 标准控制器
 * @author: 陈锦韬
 * @date: 2020\8\12 0012
 * @version V1.0
 * @Copyright: 2020 陈锦韬  All rights reserved.
 */
package com.rx.stang.controller;

import com.rx.core.base.RxBaseController;
import com.rx.stang.vo.ColumnistInfoVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;
import java.util.List;

/**
 * @author: Administrator
 * @Description: 标准控制器
 * @date: 2020\8\12 0012
 */
@RestController
@RequestMapping("/operate")
@Slf4j
public class STangOperateController extends RxBaseController {

    @Autowired
    com.rx.stang.service.STangOperateService commonService;

    /**
     * 寄语下架
     * @param dataList
     * @return
     */
    @ResponseBody
    @RequestMapping("/shelves")
    public Object shelves(@Valid @RequestBody List<ColumnistInfoVo> dataList)  {
        return commonService.shelves(dataList);
    }
}
